Variable type for Application on Time Events [on hold]

Posted by user2931226 on Stack Overflow See other posts from Stack Overflow or by user2931226
Published on 2013-10-29T08:45:28Z Indexed on 2013/10/29 21:55 UTC
Read the original article Hit count: 204

Filed under:
|
|
|

Been Trying to figure out how to go about setting a Variable for some Application On Time events, But still not confident to do it.

These events (Macro's) get called by another Macro then they wait for 10 - 20 minutes, then they don't Run.

So have read that (EarliestTime argument) should be assigned to a variable to store it other wise it looses it when other things are running

Help appreciated Thanks

Sub settimers()

   Application.OnTime TimeValue(Range("$X$9").Text), "StartBlink"  
   Application.OnTime TimeValue(Range("$W$11").Text), "StopBlink"    

End Sub 

© Stack Overflow or respective owner

Related posts about vba

Related posts about variables